package com.shayne.vs.UI.render;

import javafx.*;
import javafx.scene.Scene;
import javafx.scene.control.Button;
import javafx.scene.control.Label;
import javafx.scene.layout.AnchorPane;
import javafx.stage.Stage;

import com.shayne.vs.UI.modal.UndecoratorModal;

public class UndecoratorRender implements RenderItf, UndecoratorItf{
	
	private UndecoratorModal modal;
	
	public UndecoratorRender(UndecoratorModal modal) {
		this.modal = modal;
		initAllComponent();
	}
	
	public void initAllComponent() {
		modal.setmHeaderPane(new AnchorPane());
		modal.setmCloseBtn(new Button(LBL_CLOSE_BUTTON));
		modal.setmMaxMinBtn(new Button(LBL_MAX_BUTTON));
		modal.setmStateBtn(new Button(LBL_STATE_BUTTON));
		modal.setmTitleLlb(new Label(LBL_DEFAULT_TITLE));
		
		arrangeComponent();
	}

	public void arrangeComponent() {
		
		Stage stage = modal.getmStage();
		Scene scene = modal.getmScene();
		Button maxMinBtn = modal.getmMaxMinBtn();
		Button closeBtn = modal.getmCloseBtn();
		Button stateBtn = modal.getmStateBtn();
		Label title = modal.getmTitleLlb();
		
		
	}

}
